package com.fw.enums;

public enum UserType {
    //1管理员、2养殖场、3屠宰场、4批发市场、5批发商、6零售商、7检疫中心
    ADMIN("1", "管理员"),
    FEEDER("2", "养殖场"),
    SLAUGHTERHOUSE("3", "屠宰场"),
    WHOLESALE("4", "批发市场"),
    WHOLESALER("5", "批发商"),
    RETAILER("6", "零售商"),
    CHECKER("7", "检疫中心");

    private String value;
    private String message;

    UserType(String value, String message){
        this.value = value;
        this.message = message;
    }
    public String getValue(){
        return value;
    }
    public void setValue(String value){
        this.value = value;
    }
    public String getMessage(){
        return message;
    }
    public void setMessage(String message){
        this.message = message;
    }
}
